Pronamic\WordPress\Number\Number S

Total Complexity 42
Dependencies 4
Dependents 16
Total lines 480
Lines of code 156
Logical lines of code 67
Comment lines 263
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
parse_mixed()
S
56 5 20
initialize_calculator()
S
62 4 12
parse_float_with_precision()
S
61 3 12
parse_string()
S
64 2 11
parse_float()
S
63 2 11
parse_int()
S
63 2 11
normalize()
S
68 2 7
from_mixed()
S
71 2 6
get_calculator()
S
72 2 6
__toString()
S
81 1 3
from_string()
S
79 1 3
from_float()
S
79 1 3
from_int()
S
79 1 3
__construct()
S
81 1 3
format_i18n()
S
79 1 3
jsonSerialize()
S
82 1 3
negative()
S
79 1 3
is_zero()
S
74 1 4
absolute()
S
76 1 4
divide()
S
75 1 4
multiply()
S
75 1 4
subtract()
S
75 1 4
add()
S
75 1 4
set_value()
S
79 1 3
get_value()
S
82 1 3
format()
S
78 1 3
to_int()
S
81 1 3